package com.neelsys.domain.visualization;

import java.util.HashSet;
import java.util.Set;

import org.springframework.data.neo4j.annotation.GraphId;
import org.springframework.data.neo4j.annotation.Indexed;
import org.springframework.data.neo4j.annotation.NodeEntity;
import org.springframework.data.neo4j.annotation.RelatedTo;

/**
 * @author madhu
 *
 */
/**
 * @author madhu
 *
 */
@NodeEntity
public class CourseDesignator {
	
	@GraphId Long nodeId;
    @Indexed(unique=true)
    String id;
    
    @Indexed
    CourseLevelEnum courseLevel;
    
    @Indexed
    CourseStreamEnum courseStream;
    
    
    @RelatedTo(elementClass = MajorCombination.class, type = "POSSIBLE_MAJORS")
    private Set<MajorCombination> possibleMajors=new HashSet<MajorCombination>();
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Set<MajorCombination> getPossibleMajors() {
		return possibleMajors;
	}
	public CourseLevelEnum getCourseLevel() {
		return courseLevel;
	}
	public void setCourseLevel(CourseLevelEnum courseLevel) {
		this.courseLevel = courseLevel;
	}
	public CourseStreamEnum getCourseStream() {
		return courseStream;
	}
	public void setCourseStream(CourseStreamEnum courseStream) {
		this.courseStream = courseStream;
	}
	
	
	
}
